package designpattern.abstractFactory;

/**
 * 具体生产魔法迷宫要素的工厂
 */
public class MagicMazeFactory implements AbstractFactory {
    @Override
    public MagicRoom getRoom() {
        return new MagicRoom();
    }

    @Override
    public MagicWall getWall() {
        return new MagicWall();
    }
}
